package com.bstek.bdf2.protal.home;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 首页管理实体类

*@author created by zxq

*@date 2022年7月13日---下午9:08:08

*/

@Entity
@Table(name="MES_HOME_MANAGEL")
public class HomeManagel implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@Id
    @Column(name = "ID", length = 32, nullable = false)
	@PropertyDef(label = "主键")
	private String id;
	 
	@Column(name = "ROLE_ID", length = 32)
	@PropertyDef(label = "所属部门ID")
	private String roleId;
	
	@Column(name = "ROLE_NAME", length = 64)
	@PropertyDef(label = "所属部门")
	private String roleName;
	
	@Column(name = "PORTLET_NAME", length = 64)
	@PropertyDef(label = "portlet名称")
	private String  portletName; 
	
	@Column(name = "PORTLET_LAYOUT", length = 60)
	@PropertyDef(label = "portlet样式")
	private String  portletLayout; 
	
	@Column(name = "PORTLET_COLUMN1", length = 10)
	@PropertyDef(label = "Column1")
	private String  portletColumn1; 
	
	@Column(name = "PORTLET_COLUMN2", length = 10)
	@PropertyDef(label = "Column2")
	private String  portletColumn2; 
	
	@Column(name = "PORTLET_COLUMN3", length = 10)
	@PropertyDef(label = "Column3")
	private String  portletColumn3; 
	
	@Column(name = "PORTLET_ORDER", length = 10)
	@PropertyDef(label = "位置顺序")
	private String  portletOrder; 
	
	
	@Column(name = "PORTLET_TYPE", length = 2)
	@PropertyDef(label = "类型")
	private String  portletType; 
	
	
	
	@Column(name = "REMARK", length = 200)
	@PropertyDef(label = "备注")
	private String remark;
	
	
	@Column(name = "CREATE_TIME")
	@PropertyDef(label = "创建时间")
	private Date createTime;
	
	@Column(name = "CREATE_USER")
	@PropertyDef(label = "创建人")
	private String createUser;
 
	@Transient
	@PropertyDef(label = "收入")
	private String salaryShow;
	
	
	
	@Override
	public String toString() {
		return "HomeManagel [id=" + id + ", roleId=" + roleId + ", roleName=" + roleName + ", portletName="
				+ portletName + ", portletLayout=" + portletLayout + ", portletColumn1=" + portletColumn1
				+ ", portletColumn2=" + portletColumn2 + ", portletColumn3=" + portletColumn3 + ", portletOrder="
				+ portletOrder + ", portletType=" + portletType + ", remark=" + remark + ", createTime=" + createTime
				+ ", createUser=" + createUser + "]";
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getPortletOrder() {
		return portletOrder;
	}

	public void setPortletOrder(String portletOrder) {
		this.portletOrder = portletOrder;
	}

	public String getPortletType() {
		return portletType;
	}

	public void setPortletType(String portletType) {
		this.portletType = portletType;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
 

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getPortletName() {
		return portletName;
	}

	public void setPortletName(String portletName) {
		this.portletName = portletName;
	}

	public String getPortletLayout() {
		return portletLayout;
	}

	public void setPortletLayout(String portletLayout) {
		this.portletLayout = portletLayout;
	}

	public String getPortletColumn1() {
		return portletColumn1;
	}

	public void setPortletColumn1(String portletColumn1) {
		this.portletColumn1 = portletColumn1;
	}

	public String getPortletColumn2() {
		return portletColumn2;
	}

	public void setPortletColumn2(String portletColumn2) {
		this.portletColumn2 = portletColumn2;
	}

	public String getPortletColumn3() {
		return portletColumn3;
	}

	public void setPortletColumn3(String portletColumn3) {
		this.portletColumn3 = portletColumn3;
	}

 
	
}
